.TH std::shared_lock::release 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::shared_lock::release \- std::shared_lock::release

.SH Synopsis
   mutex_type* release() noexcept;  \fI(since C++14)\fP

   Breaks the association of the associated mutex, if any, and *this.

   No locks are unlocked. If the *this held ownership of the associated mutex prior to
   the call, the caller is now responsible to unlock the mutex.

.SH Parameters

   \fI(none)\fP

.SH Return value

   Pointer to the associated mutex or a null pointer if there was no associated mutex.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   unlock  unlocks the associated mutex
           \fI(public member function)\fP
           disassociates the associated mutex without unlocking (i.e., releasing
   release ownership of) it
           \fI(public member function of std::unique_lock<Mutex>)\fP

.SH Category:
     * Todo no example
